import { postRequest, getRequest } from '@/utils/request.js';

/**
 * @Description: 字典
 * @Author: linmei
 */
export const dictApi = {
  // 全部字典
  useDictTypeAllApi: () => {
    return getRequest('/sys/dict/type/all');
  },
  // 根据类型查询  dictTypeId: 2 page: 1 limit: 10
  getDetail:(param) =>{
	return getRequest(`/sys/dict/data/page`, param);
  },
};